Upsert segments with the provided information.
curl --request PUT \
--url https://api.topsort.com/public/v1/segment-service/segments \
--header 'Content-Type: application/json' \
--data '{
"segments": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>"
}
]
}'
{
"segments": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>",
"total": 123
}
]
}
Successful Response
The response is of type object
.
curl --request PUT \
--url https://api.topsort.com/public/v1/segment-service/segments \
--header 'Content-Type: application/json' \
--data '{
"segments": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>"
}
]
}'
{
"segments": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>",
"total": 123
}
]
}
Upsert segments with the provided information.
curl --request PUT \
--url https://api.topsort.com/public/v1/segment-service/segments \
--header 'Content-Type: application/json' \
--data '{
"segments": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>"
}
]
}'
{
"segments": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>",
"total": 123
}
]
}
Successful Response
The response is of type object
.
curl --request PUT \
--url https://api.topsort.com/public/v1/segment-service/segments \
--header 'Content-Type: application/json' \
--data '{
"segments": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>"
}
]
}'
{
"segments": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>",
"total": 123
}
]
}